package com.zjsd.sqeybusiness.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zjsd.sqeybusiness.dto.AccountDTO;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 dkktapply
 *
 * @author Zheng
 * @date 2022-05-12
 */
public class Dkktapply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请ID */
    private Long applyid;

    /** 申请公司 */
    @Excel(name = "申请公司")
    private Long deptid;

    /** 代理商名称 */
    @Excel(name = "代理商名称")
    private String deptname;

    /** 端口开通类型 */
    @Excel(name = "端口开通类型")
    private String dkktlx;

    /** 端口开通个数 */
    @Excel(name = "端口开通个数")
    private BigDecimal ktgs;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String khname;

    /** 客户手机号 */
    @Excel(name = "客户手机号")
    private String khphone;

    /** 开通备注 */
    @Excel(name = "开通备注")
    private String ktbz;

    /** 审核标志 */
    @Excel(name = "审核标志")
    private String shbz;

    /** 审核人ID */
    @Excel(name = "审核人ID")
    private Long shuserid;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sqtime;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shtime;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String shyj;

    /** 申请人 */
    @Excel(name = "申请人")
    private Long squserid;

    private List<AccountDTO> accountList = new ArrayList<AccountDTO>();

    public List<AccountDTO> getAccountList() {
        return accountList;
    }

    public void setAccountList(List<AccountDTO> accountList) {
        this.accountList = accountList;
    }

    public void setApplyid(Long applyid)
    {
        this.applyid = applyid;
    }

    public Long getApplyid()
    {
        return applyid;
    }
    public void setDeptid(Long deptid)
    {
        this.deptid = deptid;
    }

    public Long getDeptid()
    {
        return deptid;
    }
    public void setDeptname(String deptname)
    {
        this.deptname = deptname;
    }

    public String getDeptname()
    {
        return deptname;
    }
    public void setDkktlx(String dkktlx)
    {
        this.dkktlx = dkktlx;
    }

    public String getDkktlx()
    {
        return dkktlx;
    }
    public void setKtgs(BigDecimal ktgs)
    {
        this.ktgs = ktgs;
    }

    public BigDecimal getKtgs()
    {
        return ktgs;
    }
    public void setKhname(String khname)
    {
        this.khname = khname;
    }

    public String getKhname()
    {
        return khname;
    }
    public void setKhphone(String khphone)
    {
        this.khphone = khphone;
    }

    public String getKhphone()
    {
        return khphone;
    }
    public void setKtbz(String ktbz)
    {
        this.ktbz = ktbz;
    }

    public String getKtbz()
    {
        return ktbz;
    }
    public void setShbz(String shbz)
    {
        this.shbz = shbz;
    }

    public String getShbz()
    {
        return shbz;
    }
    public void setShuserid(Long shuserid)
    {
        this.shuserid = shuserid;
    }

    public Long getShuserid()
    {
        return shuserid;
    }
    public void setSqtime(Date sqtime)
    {
        this.sqtime = sqtime;
    }

    public Date getSqtime()
    {
        return sqtime;
    }
    public void setShtime(Date shtime)
    {
        this.shtime = shtime;
    }

    public Date getShtime()
    {
        return shtime;
    }
    public void setShyj(String shyj)
    {
        this.shyj = shyj;
    }

    public String getShyj()
    {
        return shyj;
    }
    public void setSquserid(Long squserid)
    {
        this.squserid = squserid;
    }

    public Long getSquserid()
    {
        return squserid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applyid", getApplyid())
            .append("deptid", getDeptid())
            .append("deptname", getDeptname())
            .append("dkktlx", getDkktlx())
            .append("ktgs", getKtgs())
            .append("khname", getKhname())
            .append("khphone", getKhphone())
            .append("ktbz", getKtbz())
            .append("shbz", getShbz())
            .append("shuserid", getShuserid())
            .append("sqtime", getSqtime())
            .append("shtime", getShtime())
            .append("shyj", getShyj())
            .append("squserid", getSquserid())
            .toString();
    }
}
